package com.github.fuse.entity;

import com.github.fuse.annotation.Fuse;
import lombok.Data;
import org.aspectj.lang.ProceedingJoinPoint;

import javax.swing.plaf.FontUIResource;
import java.lang.reflect.Method;

/**
 * @author: wangdejun
 * @create: 2019-10-17 19:39
 **/
@Data
public class AopExecute {

    private ProceedingJoinPoint joinPoint;
    private Object[] params;
    private Class<?>[] paramTypes;
    private Object entity;
    private Method method;

    public AopExecute(ProceedingJoinPoint joinPoint, Object[] params,
                      Class<?>[] paramTypes, Object entity, Method method) {
        this.joinPoint = joinPoint;
        this.params = params;
        this.paramTypes = paramTypes;
        this.entity = entity;
        this.method = method;
    }
}
